using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

using thinger.ToolsLib;

namespace thinger.ControlDemo
{
    public partial class FrmDataValidateHelper : Form
    {
        public FrmDataValidateHelper()
        {
            InitializeComponent();
        }

        private void btn_IsInteger_Click(object sender, EventArgs e)
        {
            this.lbl_Result.Text=DataValidateHelper.IsInteger(txt_Value.Text).ToString();  
        }

        private void btn_IsEmail_Click(object sender, EventArgs e)
        {
            this.lbl_Result.Text = DataValidateHelper.IsEmail(txt_Value.Text).ToString();
        }
    }
}
